package com.ynny.abstract_.demo02;

public class Rectangle extends Geometry{
    @Override
    public void area() {
        System.out.println("计算矩形的面积");
    }

    @Override
    public void perimeter() {

        System.out.println("计算矩形的周长");
    }
}
